<template>
    <div>
        <van-cell is-link @click="glysqjl" title="管理员申请记录" />
        <van-cell is-link @click="ywysqjl" title="业务员申请记录" />
        <van-cell is-link @click="tshwsqjl" title="特殊货物申请记录" />
        <van-cell is-link @click="crjjbjl" title="出入境证件相关违法举报记录" />
        <van-cell is-link @click="wjryjbjl" title="外籍人员非法入境举报记录" />
        <van-cell is-link @click="zggmjbjl" title="中国公民赴境外参与赌博举报记录" />
        <van-cell is-link @click="wyjbsqjl" title="其他相关举报记录" />
    </div>
</template>

<script>
    export default {
        data() {
            return {
                list: [],
                activeName: '1',
                lists: [],
                shibai: false,
                chengg: false,
            }
        },
        created() {
            this.wdsq()
        },
        mounted() {
            var mx = window.sessionStorage.getItem("mz")
            var sjh = window.sessionStorage.getItem("sjh")
            var sfz = window.sessionStorage.getItem("sfz")
            var xb = window.sessionStorage.getItem("xb")
            // this.name = mx
            // this.sfz = sfz
            // this.lxdh = sjh
            // this.radio = xb
        },
        methods: {
            glysqjl() {
                this.$router.push('/glysqjl')
            },
            ywysqjl() {
                this.$router.push('/ywysqjl')
            },

            tshwsqjl() {
                this.$router.push('/tshwsqjl')
            },
            crjjbjl() {
                this.$router.push('/crjjbjl')
            },
            wjryjbjl() {
                this.$router.push('/wjryjbjl')
            },
            zggmjbjl() {
                this.$router.push('/zggmjbjl')
            },

            wyjbsqjl() {
                this.$router.push('/wyjbsqjl')
            },
            wdsq() {
                var that = this
                 var sfz = window.sessionStorage.getItem("sfz")
                var jmqsjtj = JSON.stringify({
                    //入参内容
                    sfz: sfz
                    // sfz: ""
                })
                var jmhsjtj = SM.encrypt(jmqsjtj,
                    //公钥
                    "04dc1578201807270594d42a693f039abd019967a29b24ea6bd5c92c65a8ed25618541144d0ea3be942d47017e36821f821e268182073e8a734b083a4d4c6157fb"
                );
                // var appid = that.appid;
                var appid = "Embmzckm";
                var interfaceid = 'shwclb';
                var interfacecontent = jmhsjtj
                var fromport = '2';
                var signurl = 'https://' + urldomaincreatesign;
                var gatewayurl = 'https://' + urldomaingateway;
                vaildInterfacefn(appid, interfaceid, interfacecontent, fromport, signurl, gatewayurl).then(value => {
                    //私钥
                    var jjjsjtj = SM.decrypt(value,
                        "6636756e69f8276c514919d04eaf928498b443bfb783e8fe6fa6977056c4d90b");
                    var lists = JSON.parse(jjjsjtj)
                    that.lists = lists.result
                    console.log(that.lists.shjg);
                    if (that.lists !== 0) {
                        that.value = false
                    }
                    console.log(that.lists);
                })
            }
        },
    }
</script>

<style scoped>
    .van-collapse-item__content {
        padding: 11px 60px !important;
    }

    .van-steps--horizontal {
        padding: 11px 58px 0;
    }
</style>